﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Paltop_v0._1.UI
{
    public partial class RSS : System.Web.UI.Page
    {
        public string list = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["ACCOUNTID"] == null)
                Session["ACCOUNTID"] = 2;
            Paltop_.Controllers.FeedController a = new Paltop_.Controllers.FeedController();
            List<Paltop_DatabaseLayer.FeedList> ls= a.getAccountFeedList(2);
           
            foreach (var item in ls)
            {
                list=list+"<li class=\"RSSItems\" + id=\""+item.FeedID+"\">"+item.Title+"</li>";
            }
            
        }
    }
}